package org.prototype.bank.web;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class TransferFormController{

    protected final Log logger = LogFactory.getLog(getClass());

//	@Autowired
//	private TransferFacade transferFacade;
//	
//    public ModelAndView onSubmit(Object command)
//            throws ServletException {
//
//        int increase = ((PriceIncrease) command).getPercentage();
//        logger.info("Increasing prices by " + increase + "%.");
//
//        productManager.increasePrice(increase);
//
//        logger.info("returning from PriceIncreaseForm view to " + getSuccessView());
//
//        return new ModelAndView(new RedirectView(getSuccessView()));
//    }
//
//    protected Object formBackingObject(HttpServletRequest request) throws ServletException {
//        PriceIncrease priceIncrease = new PriceIncrease();
//        priceIncrease.setPercentage(20);
//        return priceIncrease;
//    }
}
